<%@ page contentType="text/html;charset=UTF-8" language="java"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
    <title>Where is Mao?</title>
    
    <link rel="stylesheet" type="text/css"
    	href="http://ajax.googleapis.com/ajax/libs/dojo/1.3.2/dojo/resources/dojo.css" />
    <link rel="stylesheet" type="text/css"
    	href="http://ajax.googleapis.com/ajax/libs/dojo/1.3.2/dijit/themes/tundra/tundra.css" />
    <link rel="stylesheet" type="text/css" href="stylesheet/main.css" />
    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/dojo/1.3/dojo/dojo.xd.js"></script>
    <script type="text/javascript" src="scripts/region.js"></script>
    <script type="text/javascript">
    	dojo.require("dojo.parser");
    	dojo.require("dijit.form.ComboBox");
    	dojo.require("dijit.form.FilteringSelect");
    	dojo.require("dijit.form.Form");
    	dojo.require("dijit.form.Button");
    	dojo.require("dijit.form.SimpleTextarea");
    	dojo.require("dijit.form.RadioButton");
    	dojo.require("dijit.form.ValidationTextBox");

    	dojo.addOnLoad(function(){
        	dojo.parser.parse();
    		init();
        	});
    </script>
    
  </head>

  <body class="tundra">
  	<h2>钞票信息</h2>
	<form id="bill_form" dojoType="dijit.form.Form" action="bill.do?method:save" method="POST">
		<div class="formQuestion"> 
			<span class="noticeMessage"> 
				
			</span> 
			<span>钞票信息</span> 
		</div> 
	    <div class="formAnswer">      
	      	<label class="firstLabel" for="denomination">面值 </label>
	   		<select name="bill.denomination" id="denomination" >
	   			<option>100</option>
	   			<option>50</option>
	   			<option>20</option>
	   			<option>10</option>
	   			<option>5</option>
	   			<option>2</option>
	   			<option>1</option>
	   		</select>
	      	<br />
	      
	      	<label class="firstLabel" for="owned">是否拥有</label>
	      	<fieldset id="owned" class="dijitInline"> 
				<input type="radio" name="hours" id="yes" value="true" dojoType="dijit.form.RadioButton" /> <label for="yes">是</label> 
				<input type="radio" name="hours" id="no" value="false" dojoType="dijit.form.RadioButton" /> <label for="no">否</label> 
			</fieldset> 
	      	<br />
	      
	      	<label class="firstLabel" for="serial">编号</label>
	      	<input name="bill.serial" id="serial" dojoType="dijit.form.ValidationTextBox"/>
	      	<br />
	    </div>
	    <div class="formQuestion">
			<span>您是在哪里得到的？</span> 
		</div> 
	    <div class="formAnswer">
	      	<label class="firstLabel" for="zipcode">邮政编码</label>
	      	<input name="bill.zipcode" id="zipcode" dojoType="dijit.form.ValidationTextBox"/>
	      	<br />
	      	<label class="firstLabel" for="address">地址</label>
	      	<input name="bill.address" id="address" dojoType="dijit.form.ValidationTextBox"/>
	      	<br />
	      	<label class="firstLabel" for="province">省份 </label>
	      	<select name="bill.province" id="province" onChange = "select()"></select>　
	      	<label class="secondLabel" for="city">城市</label>
	      	 <select name="bill.city" id="city" onChange = "select()"></select>
	    </div>
	    <div class="formQuestion">
			<span>这张钞票的故事</span> 
		</div> 
	    <div class="formAnswer">
	      	<textarea name="bill.comment" dojoType="dijit.form.SimpleTextarea" style="width:100%"></textarea>
	    </div>
	    <center>
	    	<button dojoType="dijit.form.Button" type="submit">提交</button>
	    	<button dojoType="dijit.form.Button" type="reset">重填</button>
	    </center>
    </form>
  </body>
</html>
